package com.timeshare.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 公告请求DTO
 */
@Data
public class NoticeRequest {
    
    @NotBlank(message = "标题不能为空")
    private String title;
    
    @NotBlank(message = "内容不能为空")
    private String content;
    
    private Integer type;
}

